﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Exam.IRepositoy
{
    public interface IBaseRepository<T> where T : class 
    {
        public  Task<T> Add(T t);

        public Task<T> Update(T t);

        public Task<int> Delete(List<T> ts);

        public  Task<int> SoftDelete(List<T> ts);
    }
}
